atom_feed do |feed|
  feed.title("My great blog!")
  feed.updated((@comments.first.created_at))

  for comment in @comments
    feed.entry(comment) do |entry|
      entry.title(comment.title)
      entry.content(comment.body, :type => 'html')

      entry.author do |author|
        author.name("DHH")
      end
    end
  end
end